//
//  Sky72TeeCardMainViewController.m
//  Sky72
//
//  Created by ladaka on 13. 10. 1..
//  Copyright (c) 2013년 ladaka Inc. All rights reserved.
//

#import "Sky72TeeCardMainViewController.h"
#import "CDefines.h"

@interface Sky72TeeCardMainViewController ()

@end

@implementation Sky72TeeCardMainViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)viewDidUnload {
    [self setVTapFrame:nil];
    [self setVSubFrame:nil];
    [self setBtnTeeCard:nil];
    [self setBtnMyTeePoint:nil];
    [self setBtnTeePointPresent:nil];
    [self setBtnTeeCooperation:nil];
    [super viewDidUnload];
}
- (IBAction)onClickTap:(id)sender {
    UIButton *btn = (UIButton *)sender;
    NSInteger tag = btn.tag;
    
    [self teeViewChange:tag];
    
    NSLog(@"%s, tag %d", __FUNCTION__, tag);
}

- (void)teeViewChange:(int)tag {
    if (tag == TEE_CARD) {
        
    }
    else if (tag == TEE_MY_POINT) {
        
    }
    else if (tag == TEE_PRESENT) {
        
    }
    else if (tag == TEE_COOPERATION) {
        
    }
}
@end
